package com.manager.bean;

public class student {
	
	private int id;
	private String name;
	private String sex;
	private int grade;
	private int tel;
	private int oldid;
	
	public int getOldid() {
		return oldid;
	}
	public void setOldid(int oldid) {
		this.oldid = oldid;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public int getGrade() {
		return grade;
	}
	public void setGrade(int grade) {
		this.grade = grade;
	}
	public int getTel() {
		return tel;
	}
	public void setTel(int tel) {
		this.tel = tel;
	}
	
	public student()
	{
		super();
	}
	
	public student(int id,String name,String sex,int grade,int tel){
		this.grade = grade;
		this.tel = tel;
		this.sex = sex;
		this.name = name;
		this.id = id;
	}
	
	public student(int id,String name,String sex,int grade,int tel,int oldid){
		this.grade = grade;
		this.tel = tel;
		this.sex = sex;
		this.name = name;
		this.id = id;
		this.oldid=oldid;
	}
	
	@Override
	public String toString() {
		return "student [id=" + id + ", name=" + name + ", sex=" + sex + ", grade=" + grade + ", tel=" + tel + "]";
	}

}
